package com.t235.gc.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 设备表(Device)实体类
 *
 * @author makejava
 * @since 2021-03-24 08:45:21
 */
public class Device implements Serializable {
    private static final long serialVersionUID = 212706218335474191L;
    /**
     * 设备主键
     */
    private Long deviceid;
    /**
     * 设备名称
     */
    private String devicename;
    /**
     * 设备编号
     */
    private String devicenumber;
    /**
     * 设备版本号
     */
    private String deviceversion;
    /**
     * 分拣中心ID
     */
    private String sortingid;
    /**
     * 运营商ID
     */
    private String operatorsid;
    /**
     * 合伙人ID
     */
    private Long partnersid;
    /**
     * 场地ID
     */
    private Long venuesid;
    /**
     * 设备状态 1.正常 2.故障 3.离线
     */
    private Integer devicestatus;
    /**
     * 设备二维码
     */
    private String deviceqrcode;
    /**
     * 预警库存标识（是否预警根据该标识数量来控制）
     */
    private Integer stockflag;
    /**
     * 最大库存容量
     */
    private Integer stockmaxqty;
    /**
     * 省
     */
    private String province;
    /**
     * 市
     */
    private String city;
    /**
     * 区
     */
    private String area;
    /**
     * 详细地址
     */
    private String address;
    /**
     * 经度
     */
    private Double longitude;
    /**
     * 纬度
     */
    private Double latitude;
    /**
     * 满溢度
     */
    private Integer spillover;
    /**
     * 总公司垃圾分成比例
     */
    private Double platformgrcomrate;
    /**
     * 总公司商品分成比例
     */
    private Double platformgoodscomrate;
    /**
     * 分拣中心垃圾分成比例
     */
    private Double sortinggrcomrate;
    /**
     * 分拣中心商品分成比例
     */
    private Double sortinggoodscomrate;
    /**
     * 运营商垃圾分成比例
     */
    private Double operatorsgrcomrate;
    /**
     * 合伙人垃圾分成比例
     */
    private Double partnersgrcomrate;
    /**
     * 合伙人商品分成比例
     */
    private Double partnersgoodscomrate;
    /**
     * 合伙人上级：1.分拣中心 2.运营商
     */
    private Integer partnersparent;
    /**
     * 是否删除 1.未删除 2.已删除
     */
    private Integer isdel;
    /**
     * 是否禁用 1 禁用 2 未禁用
     */
    private Integer isflag;
    /**
     * 是否缺货 1.未缺货 2.已缺货
     */
    private Integer isstock;
    /**
     * 故障时间
     */
    private Date faulttime;
    /**
     * 离线时间
     */
    private Date offlinetime;
    /**
     * 缺货时间
     */
    private Date stockouttime;
    /**
     * 满溢时间
     */
    private Date spillovertime;
    /**
     * 创建时间
     */
    private Date ctime;


    public Long getDeviceid() {
        return deviceid;
    }

    public void setDeviceid(Long deviceid) {
        this.deviceid = deviceid;
    }

    public String getDevicename() {
        return devicename;
    }

    public void setDevicename(String devicename) {
        this.devicename = devicename;
    }

    public String getDevicenumber() {
        return devicenumber;
    }

    public void setDevicenumber(String devicenumber) {
        this.devicenumber = devicenumber;
    }

    public String getDeviceversion() {
        return deviceversion;
    }

    public void setDeviceversion(String deviceversion) {
        this.deviceversion = deviceversion;
    }

    public String getSortingid() {
        return sortingid;
    }

    public void setSortingid(String sortingid) {
        this.sortingid = sortingid;
    }

    public String getOperatorsid() {
        return operatorsid;
    }

    public void setOperatorsid(String operatorsid) {
        this.operatorsid = operatorsid;
    }

    public Long getPartnersid() {
        return partnersid;
    }

    public void setPartnersid(Long partnersid) {
        this.partnersid = partnersid;
    }

    public Long getVenuesid() {
        return venuesid;
    }

    public void setVenuesid(Long venuesid) {
        this.venuesid = venuesid;
    }

    public Integer getDevicestatus() {
        return devicestatus;
    }

    public void setDevicestatus(Integer devicestatus) {
        this.devicestatus = devicestatus;
    }

    public String getDeviceqrcode() {
        return deviceqrcode;
    }

    public void setDeviceqrcode(String deviceqrcode) {
        this.deviceqrcode = deviceqrcode;
    }

    public Integer getStockflag() {
        return stockflag;
    }

    public void setStockflag(Integer stockflag) {
        this.stockflag = stockflag;
    }

    public Integer getStockmaxqty() {
        return stockmaxqty;
    }

    public void setStockmaxqty(Integer stockmaxqty) {
        this.stockmaxqty = stockmaxqty;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Integer getSpillover() {
        return spillover;
    }

    public void setSpillover(Integer spillover) {
        this.spillover = spillover;
    }

    public Double getPlatformgrcomrate() {
        return platformgrcomrate;
    }

    public void setPlatformgrcomrate(Double platformgrcomrate) {
        this.platformgrcomrate = platformgrcomrate;
    }

    public Double getPlatformgoodscomrate() {
        return platformgoodscomrate;
    }

    public void setPlatformgoodscomrate(Double platformgoodscomrate) {
        this.platformgoodscomrate = platformgoodscomrate;
    }

    public Double getSortinggrcomrate() {
        return sortinggrcomrate;
    }

    public void setSortinggrcomrate(Double sortinggrcomrate) {
        this.sortinggrcomrate = sortinggrcomrate;
    }

    public Double getSortinggoodscomrate() {
        return sortinggoodscomrate;
    }

    public void setSortinggoodscomrate(Double sortinggoodscomrate) {
        this.sortinggoodscomrate = sortinggoodscomrate;
    }

    public Double getOperatorsgrcomrate() {
        return operatorsgrcomrate;
    }

    public void setOperatorsgrcomrate(Double operatorsgrcomrate) {
        this.operatorsgrcomrate = operatorsgrcomrate;
    }

    public Double getPartnersgrcomrate() {
        return partnersgrcomrate;
    }

    public void setPartnersgrcomrate(Double partnersgrcomrate) {
        this.partnersgrcomrate = partnersgrcomrate;
    }

    public Double getPartnersgoodscomrate() {
        return partnersgoodscomrate;
    }

    public void setPartnersgoodscomrate(Double partnersgoodscomrate) {
        this.partnersgoodscomrate = partnersgoodscomrate;
    }

    public Integer getPartnersparent() {
        return partnersparent;
    }

    public void setPartnersparent(Integer partnersparent) {
        this.partnersparent = partnersparent;
    }

    public Integer getIsdel() {
        return isdel;
    }

    public void setIsdel(Integer isdel) {
        this.isdel = isdel;
    }

    public Integer getIsflag() {
        return isflag;
    }

    public void setIsflag(Integer isflag) {
        this.isflag = isflag;
    }

    public Integer getIsstock() {
        return isstock;
    }

    public void setIsstock(Integer isstock) {
        this.isstock = isstock;
    }

    public Date getFaulttime() {
        return faulttime;
    }

    public void setFaulttime(Date faulttime) {
        this.faulttime = faulttime;
    }

    public Date getOfflinetime() {
        return offlinetime;
    }

    public void setOfflinetime(Date offlinetime) {
        this.offlinetime = offlinetime;
    }

    public Date getStockouttime() {
        return stockouttime;
    }

    public void setStockouttime(Date stockouttime) {
        this.stockouttime = stockouttime;
    }

    public Date getSpillovertime() {
        return spillovertime;
    }

    public void setSpillovertime(Date spillovertime) {
        this.spillovertime = spillovertime;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

}
